package net.csdn.business.common.domain.vo.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.common.constant.CommonConstants;

import java.io.Serializable;
import java.util.Date;


/**
 * 用户mfa配置信息对象VO user_mfa_config
 * 
 * @author zhangyl
 * @date 2023-10-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserMfaBindInfoVO implements Serializable
{

    /** 当前需要绑定的用户名称 */
    private String username;

    /** 当前需要绑定的mfa密钥 */
    private String secret;

    /** mfa二维码url*/
    private String qrUrl;

    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    protected Date createdDate;

}
